projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a6339
)
sched_credit: Reduce is_urgent flag check to a WARN_ON.
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 24 Feb 2010 10:58:03 +0000
(10:58 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 24 Feb 2010 10:58:03 +0000
(10:58 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/sched_credit.c
patch
|
blob
|
history
diff --git
a/xen/common/sched_credit.c
b/xen/common/sched_credit.c
index 914022ebb92fcf85c7ae3c1d5e8148df1d4ebf10..bb85b94315b12cf7380174d4e72daf5ed1728662 100644
(file)
--- a/
xen/common/sched_credit.c
+++ b/
xen/common/sched_credit.c
@@
-1060,7
+1060,7
@@
csched_runq_steal(int peer_cpu, int cpu, int pri)
/* We got a candidate. Grab it! */
CSCHED_VCPU_STAT_CRANK(speer, migrate_q);
CSCHED_STAT_CRANK(migrate_queued);
-
BUG
_ON(vc->is_urgent);
+
WARN
_ON(vc->is_urgent);
__runq_remove(speer);
vc->processor = cpu;
return speer;